package com.plwf.lake.service;

import com.plwf.lake.entity.LakeAdmin;

import java.sql.SQLException;
import java.util.List;

public interface LakeAdminService {
    //通过bean对象找人的接口
    public LakeAdmin get(LakeAdmin lakeAdmin);

    public boolean save(LakeAdmin bean,List<Integer> powers) throws SQLException;
    public boolean remove(Integer id);
    public List<LakeAdmin> find(Integer id);
    public List<LakeAdmin> query();
    public LakeAdmin login(LakeAdmin bean);

}
